Unlike other top bar menus, the accessibility menu doesn't provide
quick access to the corresponding settings. It's still useful, given
that not all settings are exposed in the menu, so add a settings entry.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6058
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2615>
let mouseKeys = this._buildItem(_("Mouse Keys"), A11Y_KEYBOARD_SCHEMA, KEY_MOUSE_KEYS_ENABLED);
this.menu.addMenuItem(mouseKeys);
+ this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
+ this.menu.addSettingsAction(_('Accessibility Settings'),
+ 'gnome-universal-access-panel.desktop');
+
this._syncMenuVisibility();
}